<?php

namespace app\controllers;

/**
 * 日志中心
 */
class LogController extends \BaseController
{
	public function __construct()
	{
		parent::__construct();

		$skips = ["test"];

		if (!in_array($this->route->method, $skips)) {
			if (empty($_COOKIE['access_token'])) {
				//redirect("/");
			}
		}
	}

	public function test()
	{

	}

	public function index()
	{

	}

	public function info($id = 0)
	{

	}
}
